package cn.kgc.crowdfundingadmin.service;

import cn.kgc.crowdfundingadmin.pojo.Role;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @auhtor 司云杰
 * @create 2020-  02- 25-15:57
 */
public interface RoleService {
    public PageInfo<Role> queryForKeywordWithPage(
            Integer pageNum,
            Integer pageSize,
            String keyword);
    //模态框显示数据
    public List<Role> getRoleListByIdList(List<Integer> roleIdList);
    //批量删除
    public void batchRemove(List<Integer> roleIdList);
    //添加
    public void saveRole(String roleName);
    //修改
    public void updateRole(Role role);
}
